﻿using CharacterCreation.Views.Contracts;
using CharacterCreation.Data.Services;
using System.Collections.ObjectModel;
using CharacterCreation.Data.Models;

namespace CharacterCreation.Views {
    /// <summary>
    /// The viewmodel 
    /// </summary>
    public class SpecialSelectionListViewModel : BaseViewModel {

        private SpecialService _specialService = SpecialService.CreateInstance();

        /// <summary>
        /// Gets or sets the Skills
        /// </summary>
        public ObservableCollection<Special> Specials {
            get { return _specialService.Items; }
        }

        /// <summary>
        /// Gets or sets the current skill
        /// </summary>
        public Special CurrentSpecial {
            get { return _specialService.CurrentItem; }
            set { _specialService.CurrentItem = value; }
        }

        /// <summary>
        /// ctor
        /// </summary>
        public SpecialSelectionListViewModel() {
        }
    }
}
